'\" t
.TH "PORT\-MIGRATE" "1" "2\&.11\&.99" "MacPorts 2\&.11\&.99" "MacPorts Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
port-migrate \- Update MacPorts for a new platform\&.
.SH "SYNOPSIS"
.sp
.nf
\fBport\fR [\fB\-vdN\fR] \fBmigrate\fR
    [\-\-all] [\-\-continue]
.fi
.SH "DESCRIPTION"
.sp
\fBport migrate\fR will reinstall the base MacPorts system and installed ports if they are not compatible with the current platform\&. It should be run after updating to a new major OS version, or after transferring a MacPorts installation to a computer with a different CPU architecture\&.
.SH "OPTIONS"
.PP
\fB\-\-all\fR
.RS 4
Migrate all ports including unrequested ones\&. By default, only requested ports and their dependencies are migrated\&.
.RE
.PP
\fB\-\-continue\fR
.RS 4
Continue with migration of ports\&. Normally only used internally when running the new copy of MacPorts base after it is rebuilt\&.
.RE
.SH "GLOBAL OPTIONS"
.sp
Please see the section \fBGLOBAL OPTIONS\fR in the \fBport\fR(1) man page for a description of global port options\&.
.PP
\fB\-N\fR
.RS 4
Non\-interactive mode, don\(cqt ask for confirmation before performing migration\&.
.RE
.SH "SEE ALSO"
.sp
\fBport\fR(1), \fBport-snapshot\fR(1), \fBport-restore\fR(1)
.SH "AUTHORS"
.sp
.if n \{\
.RS 4
.\}
.nf
(C) 2024 The MacPorts Project
Joshua Root <jmr@macports\&.org>
.fi
.if n \{\
.RE
.\}
